package com.andy.domain;

public enum UserStatus {
	NOT_ACTIVATED(0),
	NORMAL(1),
	FORBIDENNED(2);
	
	UserStatus(int userStatus) {
		
	}
	
	public int getValue() {
		switch (this) {
		case NOT_ACTIVATED:
			return 0;
		case NORMAL:
			return 1;
		case FORBIDENNED:
			return 2;
		default:
			return 0;
		}
	}
}
